package com.baitiaojun.center;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * 将程序打包成war包, 可放到外部web容器运行
 */
public class SaasErpCrmApplicationInitalizer extends SpringBootServletInitializer {

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(SaasErpCrmCenterApplication.class);
    }
}
